import amap from "@/libs/AMapWX/amap-wx.130.js"
import BasicConfig from "@/utils/config"

export default new amap.AMapWX({
	key: BasicConfig.amapKey,
	enableHighAccuracy: true // 启用高精度
});
// export default {
// 	install(app) {
// 		app.prototype.$amap = new amap.AMapWX({
// 			key: BasicConfig.amapKey,
// 			// enableHighAccuracy: false // 启用高精度
// 		});
// 	}
// }